# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=goomwwm
pkgver=1.0.0
pkgrel=4
pkgdesc="Get out of my way, Window Manager!"
url="https://github.com/seanpringle/goomwwm"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev libxft-dev freetype-dev libxinerama-dev xorgproto"
source="$pkgname-$pkgver.tar.gz::https://github.com/seanpringle/goomwwm/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make proto normal
}

check() {
	cd "$builddir"
	./goomwwm --version
}

package() {
	mkdir -p "$pkgdir"
	install -m755 -D "$builddir"/goomwwm "$pkgdir"/usr/bin/$pkgname
}

sha512sums="e37d80c8ea47fe136172c392521ec8d4dab361c3469d3d1626ed7c30385513301983c0ffde39f4c2e6f2dee8709da6a34f14f7bb89776f1ccde5103ab1a26764  goomwwm-1.0.0.tar.gz"
